package com.qingcloud.task.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qingcloud.task.model.TaskTransfer;

/**
 * <p>
 * 转派任务记录表 服务类
 * </p>
 *
 * @author zhengjibin
 * @since 2022-01-20
 */
public interface TaskTransferService extends IService<TaskTransfer> {

    /**
     * 查询任务最新的转派记录
     */
    TaskTransfer selectNewTransfer(Long taskId);

    void save(Long taskId, String userId, String toUserId);
}
